<?php
namespace Home\Model;
use Think\Model;

class PaymentModel extends Model
{
    // 拿已安装的支付方式
    public function get_installed_payments()
    {
        $shop_id = session("reception_shopid");
        $payments = M("payment_conf")->where("installed = 1 AND shop_id = $shop_id")->field("p_id")->select();
//        foreach(){
//
//        }
    }
}